package com.mihe.core.web.page;


import com.mihe.core.domain.BaseRequest;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 分页数据
 *
 * @author ruoyi
 */
public class PageDomain extends BaseRequest {

    private static final long serialVersionUID = -5044419888816869535L;

    /**
     * 当前记录起始索引
     */
    @ApiModelProperty(value = "当前记录起始索引")
    private Integer pageNum = 1;

    /**
     * 每页显示记录数
     */
    @ApiModelProperty(value = "每页显示记录数")
    private Integer pageSize = 10;

    @ApiModelProperty(value = "添加时间查询-开始时间")
    private LocalDateTime creatTimeStart;

    @ApiModelProperty(value = "添加时间查询-结束时间")
    private LocalDateTime creatTimeEnd;

    @ApiModelProperty(value = "更新时间查询-开始时间")
    private LocalDateTime updateTimeStart;

    @ApiModelProperty(value = "更新时间查询-结束时间")
    private LocalDateTime updateTimeEnd;

    @Override
    public void checkRequest() {

    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public LocalDateTime getCreatTimeStart() {
        return creatTimeStart;
    }

    public void setCreatTimeStart(LocalDateTime creatTimeStart) {
        this.creatTimeStart = creatTimeStart;
    }

    public LocalDateTime getCreatTimeEnd() {
        return creatTimeEnd;
    }

    public void setCreatTimeEnd(LocalDateTime creatTimeEnd) {
        this.creatTimeEnd = creatTimeEnd;
    }

    public LocalDateTime getUpdateTimeStart() {
        return updateTimeStart;
    }

    public void setUpdateTimeStart(LocalDateTime updateTimeStart) {
        this.updateTimeStart = updateTimeStart;
    }

    public LocalDateTime getUpdateTimeEnd() {
        return updateTimeEnd;
    }

    public void setUpdateTimeEnd(LocalDateTime updateTimeEnd) {
        this.updateTimeEnd = updateTimeEnd;
    }
}
